<template>
  <ul class="ulNav">
    <li><router-link to="/" replace>首页</router-link></li>
    <li><router-link to="/product" replace>产品</router-link></li>
    <li><router-link to="/discover" replace>发现</router-link></li>
    <li><router-link to="/user" replace>我的</router-link></li>
  </ul>
</template>

<script>
export default {
  name: 'HelloWorld-',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App-1qqqqq'
    }
  }
}
</script>

<style lang="less" rel="stylesheet/less">
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
  }
  .ulNav{
    position: fixed; bottom: 0;width: 100%;left: 0;
    margin: 0;padding: 0; list-style: none; display: flex;flex-direction:row; justify-content:space-between; height: 40px;align-items:center; background: #f9f9f9;
    li{
      display:inline-flex; padding: 0 10px; text-align: center;
      a{display: block;text-decoration: none; color:#490;}
    }
  }
  .fade-enter-active, .fade-leave-active {
    transition: opacity .5s;
  }
  .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
    opacity: 0;
  }
</style>
